package edu.uoc.tdp.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author J2RS / Jordi Sanchez
 */
public class User implements Serializable{

    private String user_id;
    private String password;
    private String name;
    private String surname1;
    private String surname2;
    private String company;
    private String address;
    private Integer postal_code;
    private String city;
    private Integer telephone;
    private Integer mobile_phone;
    private Integer roleid;
    private String email;
    private Date creation_date;
    private String creation_user;
    private Date inactivation_date;
    private String inactivation_user;
    private Date record_date;
  
        public User(String user_id,String password,String name,String surname1,String surname2,String company,String address,Integer postal_code,String city,Integer telephone,Integer mobile_phone,Integer roleid,String email,Date creation_date,String creation_user,Date inactivation_date,String inactivation_user,Date record_date){
        this.user_id = user_id;
        this.password = password;
        this.name = name;
        this.surname1 = surname1;
        this.surname2 = surname2;
        this.company = company;
        this.address = address;
        this.postal_code = postal_code;
        this.city = city;
        this.telephone = telephone;
        this.mobile_phone = mobile_phone;
        this.roleid = roleid;
        this.email = email;
        this.creation_date = creation_date;
        this.creation_user = creation_user;
        this.inactivation_user = inactivation_user;
        this.inactivation_date = inactivation_date;
        this.record_date = record_date;
    }

    public String getUserId() {
        return user_id;
    }
    public void setUserId(String userId) {
        this.user_id = user_id;
    }
	
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
	
    public String getSurname1() {
        return surname1;
    }
    public void setSurname1(String surname1) {
        this.surname1 = surname1;
    }
	
    public String getSurname2() {
        return surname2;
    }
    public void setSurname2(String surname2) {
        this.surname2 = surname2;
    }	
	
    public String getCompany() {
        return company;
    }
    public void setCompany(String company) {
        this.company = company;
    }	

    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getPostalCode() {
        return postal_code;
    }
    public void setPostalCode(Integer postal_code) {
        this.postal_code = postal_code;
    }

    public String getCity() {
        return city;
    }
    public void setCity(String city) {
        this.city = city;
    }

    public Integer getTelephone() {
        return telephone;
    }
    public void setTelephone(Integer telephone) {
        this.telephone = telephone;
    }
	
    public Integer getMobilePhone() {
        return mobile_phone;
    }
    public void setMobilePhone(Integer mobile_phone) {
        this.mobile_phone = mobile_phone;
    }

    public Integer getRoleId() {
        return roleid;
    }
    public void setgetRoleId(Integer roleid) {
        this.roleid = roleid;
    }	

    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }

    public Date getCreationDate() {
        return creation_date;
    }
    public void setCreationDate(Date creation_date) {
        this.creation_date = creation_date;
    }	
	
    public String getCreationUser() {
        return creation_user;
    }
    public void setCreationUser(String creation_user) {
        this.creation_user = creation_user;
    }
	
    public Date getInactivationDate() {
        return inactivation_date;
    }
    public void setInactivationDate(Date inactivation_date) {
        this.inactivation_date = inactivation_date;
    }	

    public String getInactivationUser() {
        return inactivation_user;
    }
    public void setInactivationUser(String inactivation_user) {
        this.inactivation_user = inactivation_user;
    }
	
    public Date getRecordDate() {
        return record_date;
    }
    public void setRecordDate(Date record_date) {
        this.record_date = record_date;
    }		
	
}
